package practice03;

/**
 * @author Administrator
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: practice03
 * @ClassName: Circle
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/12/1 14:58
 * @Copyright 大牛版板所有
 */
public class Circle {
    double radius;

    public double getArea(){
        return Math.PI * radius * radius;
    }

    public double getPerimeter(){
        return 2 * Math.PI * radius;
    }
}
